<script type="text/javascript">
	$(function() {
		$.fn.dataGridOptions.formSubFun("#form",'/modules/additional/cashAwardRule/cashAwardRuleAdd.html',"添加成功！","添加失败！");
	});
</script>
<style>
	.hide{display:none;}
	.sForm .ipt{margin-left:155px;}
	.sForm .ipt1{margin-bottom:20px;margin-left:155px;}
	.sForm .lab{width:139px;}
</style>
<div class="popForm sForm">
	<form id="form"  method="post">
		<div class="formitm">
			<label class="lab">现金奖励规则名称：</label>
			<div class="ipt">
				<input type="text" name="name" class="w200 easyui-validatebox" data-options="required: true" value="" maxlength="25"/>
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">是否启用：</label>
			<div class="ipt">
				<input type="radio" id="status" class="xj-hongbao" value="0" name="status" checked="checked">启用
				<input type="radio" id="status" class="xn-hongbao" value="1" name="status">不启用
			</div>
		</div>
		<div class="formitm">
			<label class="lab">单笔投资金额：</label>
			<div class="ipt"><input type="text" name="investAmount" id="investAmount" style="width:60px;" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="amount easyui-validatebox int_figure_required" data-options="required: true" maxlength="8">元<b>*</b></div>
		</div>
		<div class="formitm">
			<label class="lab">累计投资金额：</label>
			<div class="ipt"><input type="text" name="cumulativeAmount" id="cumulativeAmount" style="width:60px;" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="amount easyui-validatebox int_figure_required" data-options="required: true" maxlength="8">元<b>*</b></div>
		</div>
		<div class="formitm">
			<label class="lab">返现率：</label>
			<div class="ipt"><input type="text" name="cashBackRate" id="cashBackRate" class="easyui-validatebox validatebox-text" data-options="required: true,validType:'lotteryRate[0,1]'" maxlength="6" style="width:80px;">&nbsp;介于0～1之间<b>*</b></div>
		</div>
		<div class="formitm">
			<label class="lab">返现金额：</label>
			<div class="ipt"><input type="text" name="money" id="money" style="width:60px;" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" class="amount easyui-validatebox int_figure_required" data-options="required: true" maxlength="8">元<b>*</b></div>
		</div>
		<div class="formitm">
			<label class="lab">返现方式：</label>
			<div class="ipt">
				<select name="type" id="type">
					<option value="0">固定金额</option>
					<option value="1">比例返现</option>
				</select>
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">规则截止时间：</label>
			<div class="ipt">
				<input type="text" name="expiredTime" id="expiredTime" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'%y-%M-%d %H:%m:%s',readOnly:true})" class="searchTime"/>
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">现金奖励规则描述：</label>
			<div class="ipt">
				<textarea rows="3" maxlength="128" cols="50" name="description"></textarea>
			</div>
		</div>
	</form>
</div>